package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.entity.Dish;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: Jetwang
 * @date: 2022/4/11 16:32
 * @description: DishMapper
 * @version: 1.0
 */
@Repository
public interface DishMapper extends BaseMapper<Dish> {
    void updateStatusById(@Param("status") Integer status, @Param("ids")List<Long> ids);
}
